package com.zc.operator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场站设备关联对象 charge_station_device_extend
 *
 * @author glb
 * @date 2024-02-03
 */
public class ChargeStationDeviceExtend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private String deviceId;

    /** 运营商编码 */
    @Excel(name = "运营商编码")
    private String operatorCode;

    /** 场站编码 */
    @Excel(name = "场站编码")
    private String stationCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** DLT/645地址 */
    @Excel(name = "DLT/645地址")
    private String addressOne;

    /** MODBUS-RTU地址 */
    @Excel(name = "MODBUS-RTU地址")
    private String addressTwo;

    public void setDeviceId(String deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId()
    {
        return deviceId;
    }
    public void setOperatorCode(String operatorCode)
    {
        this.operatorCode = operatorCode;
    }

    public String getOperatorCode()
    {
        return operatorCode;
    }
    public void setStationCode(String stationCode)
    {
        this.stationCode = stationCode;
    }

    public String getStationCode()
    {
        return stationCode;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setDeviceType(String deviceType)
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType()
    {
        return deviceType;
    }

    public String getAddressOne() {
        return addressOne;
    }

    public void setAddressOne(String addressOne) {
        this.addressOne = addressOne;
    }

    public String getAddressTwo() {
        return addressTwo;
    }

    public void setAddressTwo(String addressTwo) {
        this.addressTwo = addressTwo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("operatorCode", getOperatorCode())
            .append("stationCode", getStationCode())
            .append("deviceName", getDeviceName())
            .append("deviceType", getDeviceType())
            .append("addressOne", getAddressOne())
            .append("addressTwo", getAddressTwo())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateTime", getUpdateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
